/*
 * Copyright (c) 2020, 2023, keyila All rights reserved.
 *
 */
package com.clp.study.designPattern.strategyPattern.demo.handler;

import com.clp.study.designPattern.strategyPattern.demo.PayChannelEnum;
import com.clp.study.designPattern.strategyPattern.demo.PayHandler;
import org.springframework.stereotype.Component;

/**
 * @author clp
 * @version 1.0
 */
@Component
public class WxPayHandler implements PayHandler {
    @Override
    public PayChannelEnum getChannel() {
        return PayChannelEnum.WX_PAY;
    }

    @Override
    public void dealPay() {
        System.out.println("微信支付");
    }
}
